[MODIFIED] changed design to maintain the alignment on slider