Using javascript you can make it as responsive layout