Is the grammar correct?

When things aren't going your way, always remember to keep smiling, because life is a beautiful thing and there's so much to smile about.

Delete the comma after "smiling" and add a comma after "thing" -- then it'll be perfect.