Trying to make it more sense
It's more reasonable to call functions while loaded pages.
Now It's ready for mobile
Commit style change

Style has changed