fixed bug with navbar on right side