move bar position needs to be set on window width and not device width move bar position needs to be set on window width and not device width