compress bar img
move script to bottom