Fix responsive layout
avoid global variables
Merge pull request #5 from mrhieu/develop

Develop