css added and minor bugs fixed