some bugs solved
make gradx variable global
cross-browser css issues solved