Added two functions for new cached scripts layout

get and set position for highlighting files within directory